package com.goldenlight.fvms.manager.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 路类型表
 * </p>
 *
 * @author luocx
 * @since 2018-12-08
 */
@TableName("tb_road_type")
public class RoadType implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 璺被鍨嬬紪鍙?
     */
    @TableId(value = "ROAD_TYPE", type = IdType.AUTO)
    private Long roadType;

    /**
     * 路类型
     */
    @TableField("NAME")
    private String name;


    public Long getRoadType() {
        return roadType;
    }

    public void setRoadType(Long roadType) {
        this.roadType = roadType;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "RoadType{" +
        "roadType=" + roadType +
        ", name=" + name +
        "}";
    }
}
